﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000FB3 RID: 4019
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueModifierStageStartNotify : IMessage<RogueModifierStageStartNotify>, IMessage, IEquatable<RogueModifierStageStartNotify>, IDeepCloneable<RogueModifierStageStartNotify>, IBufferMessage
	{
		// Token: 0x170032E4 RID: 13028
		// (get) Token: 0x0600B3E8 RID: 46056 RVA: 0x001E5CB3 File Offset: 0x001E3EB3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueModifierStageStartNotify> Parser
		{
			get
			{
				return RogueModifierStageStartNotify._parser;
			}
		}

		// Token: 0x170032E5 RID: 13029
		// (get) Token: 0x0600B3E9 RID: 46057 RVA: 0x001E5CBA File Offset: 0x001E3EBA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueModifierStageStartNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170032E6 RID: 13030
		// (get) Token: 0x0600B3EA RID: 46058 RVA: 0x001E5CCC File Offset: 0x001E3ECC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueModifierStageStartNotify.Descriptor;
			}
		}

		// Token: 0x0600B3EB RID: 46059 RVA: 0x001E5CD3 File Offset: 0x001E3ED3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueModifierStageStartNotify()
		{
		}

		// Token: 0x0600B3EC RID: 46060 RVA: 0x001E5CDB File Offset: 0x001E3EDB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueModifierStageStartNotify(RogueModifierStageStartNotify other) : this()
		{
			this.modifierSourceType_ = other.modifierSourceType_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B3ED RID: 46061 RVA: 0x001E5D00 File Offset: 0x001E3F00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueModifierStageStartNotify Clone()
		{
			return new RogueModifierStageStartNotify(this);
		}

		// Token: 0x170032E7 RID: 13031
		// (get) Token: 0x0600B3EE RID: 46062 RVA: 0x001E5D08 File Offset: 0x001E3F08
		// (set) Token: 0x0600B3EF RID: 46063 RVA: 0x001E5D10 File Offset: 0x001E3F10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueModifierSourceType ModifierSourceType
		{
			get
			{
				return this.modifierSourceType_;
			}
			set
			{
				this.modifierSourceType_ = value;
			}
		}

		// Token: 0x0600B3F0 RID: 46064 RVA: 0x001E5D19 File Offset: 0x001E3F19
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueModifierStageStartNotify);
		}

		// Token: 0x0600B3F1 RID: 46065 RVA: 0x001E5D27 File Offset: 0x001E3F27
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueModifierStageStartNotify other)
		{
			return other != null && (other == this || (this.ModifierSourceType == other.ModifierSourceType && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B3F2 RID: 46066 RVA: 0x001E5D58 File Offset: 0x001E3F58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ModifierSourceType != RogueModifierSourceType.RogueModifierSourceNone)
			{
				num ^= this.ModifierSourceType.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B3F3 RID: 46067 RVA: 0x001E5D9D File Offset: 0x001E3F9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B3F4 RID: 46068 RVA: 0x001E5DA5 File Offset: 0x001E3FA5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B3F5 RID: 46069 RVA: 0x001E5DAE File Offset: 0x001E3FAE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ModifierSourceType != RogueModifierSourceType.RogueModifierSourceNone)
			{
				output.WriteRawTag(56);
				output.WriteEnum((int)this.ModifierSourceType);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B3F6 RID: 46070 RVA: 0x001E5DE0 File Offset: 0x001E3FE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ModifierSourceType != RogueModifierSourceType.RogueModifierSourceNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.ModifierSourceType);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B3F7 RID: 46071 RVA: 0x001E5E1E File Offset: 0x001E401E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueModifierStageStartNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ModifierSourceType != RogueModifierSourceType.RogueModifierSourceNone)
			{
				this.ModifierSourceType = other.ModifierSourceType;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B3F8 RID: 46072 RVA: 0x001E5E4F File Offset: 0x001E404F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B3F9 RID: 46073 RVA: 0x001E5E58 File Offset: 0x001E4058
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.ModifierSourceType = (RogueModifierSourceType)input.ReadEnum();
				}
			}
		}

		// Token: 0x040048C0 RID: 18624
		private static readonly MessageParser<RogueModifierStageStartNotify> _parser = new MessageParser<RogueModifierStageStartNotify>(() => new RogueModifierStageStartNotify());

		// Token: 0x040048C1 RID: 18625
		private UnknownFieldSet _unknownFields;

		// Token: 0x040048C2 RID: 18626
		public const int ModifierSourceTypeFieldNumber = 7;

		// Token: 0x040048C3 RID: 18627
		private RogueModifierSourceType modifierSourceType_;
	}
}
